<include file="common/hearder"/>

            <div class="page-header">
                <div class="pull-left">
                    <h4><span class="glyphicon glyphicon-tag"></span>审核列表\Audit list</h4>
                </div>
            </div>
            <div class="clearfix"></div>
            <div class="table-margin">
                <form action="{:U('del_all')}" method="post" id="form_all">
                <table class="table table-bordered table-header">
                    <thead>
                    <tr>
                        <td class="w5">ID</td>
                        <td class="w10">申请类型</td>
                        <td class="w5">申请人</td>
                        <td class="w5">开始时间</td>
                        <td class="w5">结束时间</td>
                        <td class="w5">事假是由</td>
                        <td class="w5">状态</td>
                        <td class="w10">操作</td>
                    </tr>
                    </thead>
                    <tbody>
                    <foreach name="list" item="ll" >
                        <foreach name="ll" item="l" >
                        <tr>
                            <td>{$l.at_id}</td>
                            <td><?php echo $atList[$l['at_type']];?></td>
                            <td><?php echo $staffinfoNameList[$l['stf_id']]['stf_name'];?></td>
                            <td>{$l.at_starttime}</td>
                            <td>{$l.at_endtime}</td>
                            <td>{$l.at_cause}</td>
                            <td><?php if($l['status'] == -1){ echo '已退回';}elseif($l['status'] == 0){ echo '已完成';}else{ echo '审核中';} ?></td>
                           <td>
                                <a href="{:U('a_show',array('at_id'=>$l['at_id'],'check'=>1))}" class="btn btn-warning btn-xs active" role="button">详情</a>
                           </td>
                        </tr>
                        </foreach>
                    </foreach>
                    </tbody>
                </table>
                </form>
                {$show}
            </div>
        </div>

<include file="common/footer"/>